﻿using System.Collections.Generic;

namespace SEIPropertyDataService.Entity.ViewModels
{
    /// <summary>
    /// 单位集视图模型
    /// </summary>
    public class VM_UnitsetModel
    {
        /// <summary>
        /// 单位集名称-英文（SI、ENG、MET、、、、）
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 单位集名称-中文
        /// </summary>
        public string Name_Zh { get; set; }
        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 单位集-单位类型列表
        /// </summary>
        public List<VM_UnitsetUnitrow> UnitRows { get; set; }
    }

    /// <summary>
    /// 单位集-单位类型
    /// </summary>
    public class VM_UnitsetUnitrow
    {
        /// <summary>
        /// 单位类型枚举值
        /// </summary>
        public string UnitRow { get; set; }
        /// <summary>
        /// 单位类型名称-中文
        /// </summary>
        public string UnitRow_Zh { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Selected { get; set; }
        //public List<VM_UnitsetUnitrowUnitcol> UnitCols { get; set; }
        public VM_UnitsetUnitrowUnitcol UnitCols { get; set; }
    }
    /// <summary>
    /// 单位集-单位类型-单位
    /// </summary>
    public class VM_UnitsetUnitrowUnitcol
    {
        /// <summary>
        /// 单位枚举值
        /// </summary>
        public int UnitCol { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitColName { get; set; }
    }
}
